package com.groupbuying.sysconfig.service.impl;

import com.groupbuying.sysconfig.dao.KeyinfoDao;
import com.groupbuying.sysconfig.domain.KeyinfoDO;
import com.groupbuying.sysconfig.service.KeyinfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



@Service
public class KeyinfoServiceImpl implements KeyinfoService {
	@Autowired
	private KeyinfoDao keyinfoDao;
	
	@Override
	public KeyinfoDO get(Long infoId){
		return keyinfoDao.get(infoId);
	}
	
	@Override
	public List<KeyinfoDO> list(Map<String, Object> map){
		return keyinfoDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return keyinfoDao.count(map);
	}
	
	@Override
	public int save(KeyinfoDO keyinfo){
		return keyinfoDao.save(keyinfo);
	}
	
	@Override
	public int update(KeyinfoDO keyinfo){
		return keyinfoDao.update(keyinfo);
	}
	
	@Override
	public int remove(Long infoId){
		return keyinfoDao.remove(infoId);
	}
	
	@Override
	public int batchRemove(Long[] infoIds){
		return keyinfoDao.batchRemove(infoIds);
	}
	
}
